package com.kt.common.clazz.interface1.impl

import com.kt.common.clazz.interface1.People

data class Employee(
    override var prop: Int,
    override var agent: Int,
    override var firstName: String,
    override var lastName: String,
) : People {
    override fun food() {
        println("吃饭")
    }

    override fun sleep() {
        println("睡觉")
    }

    override fun think() {
        println("思考打豆豆")
    }

    fun getName() {
        println("""
           name= $name
        """.trimIndent())
    }
}
